home *** CD-ROM | disk | FTP | other *** search
- Date: Wed, 23 Mar 1994 17:46:03 -0500
- From: "Nicholas S Castellano" <entropy@terminator.rs.itd.umich.edu>
- To: sjg
- In-Reply-To: sjg@phlem.ph.kcl.ac.uk's message of Wed, 23 Mar 94 21:11:53 +0000 <9403232111.AA05594@phlem.ph.kcl.ac.uk>
- Subject: Using an '882 with the mint library
-
- >From: sjg@phlem.ph.kcl.ac.uk
-
- >I've been told I need to recompile the MiNT libs to get the proper performace
- >from my 68882 co-pro chip in my Falcon. To get the defines to specify -m68881
- >it seems I have to specify a target of 68020 in the Makefile. Is this correct?
- >
- >So basically, it now says:
- >
- > cgcc -m68020 -m68881 -DNDEBUG -O2 ....
- >
- >as the compilation line, which *seems* ok, but I wasn't sure...
- >
- >I'd thought that TARGET might be something set in the Compiler as a variable
- >or something, since there wasn't any mention (apart from checking to see if it
- >was defined) of it in the Makefile.
-
- TARGET is set in the makefile, it then calls another incarnation of
- make with TARGET set to an appropriate value for the target library
- you're building.
-
- To build the full set of 020 libraries, type:
- make top020
-
- ..and that will build and install gnu020.olb, gnu16020.olb,
- bgnu020.olb, bgnu16020.olb.
-
- Then compile your new programs with the -m68020 and -m68881 flags, and
- link with the appropriate library (depending on integer size and
- whether you're building base-relative), e.g. "gcc -o foo.ttp foo.o
- -lgnu020".
-
- cheers,
- entropy
-
- --
- entropy -- it's not just a good idea, it's the second law.
- Personal mail: entropy@gnu.ai.mit.edu
- MiNT library mail: entropy@terminator.rs.itd.umich.edu
- "what do you have against octal?" -jrb
-
-